# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-mame2003
pkgver=0_git20200112
pkgrel=0
_commit="82596014905ad38c80c9eb322ab08c625d1d92cd"
pkgdesc="Multiple Arcade Machine Emulator for libretro (2003)"
url="https://github.com/libretro/mame2003-libretro"
arch="all"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/mame2003-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/mame2003-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mame2003_libretro.so "$pkgdir"/usr/lib/libretro/mame2003_libretro.so
}

sha512sums="f00db1fb71a894876ed093280aa9b0f73d5a22e249ecd04f618dd1feee1256345239835ac7df80325c5a6803e2ff0bd53b211b6f6f508c6107fb335f04fed59e  libretro-mame2003-82596014905ad38c80c9eb322ab08c625d1d92cd.tar.gz"
